package com.rmuti.designpattern.creation.builder.lab01;

public class Pizza {
	private String dough = "";
	private String sauce = "";
	private String topping = "";

	public void setDough(String dough) {
		this.dough = dough;
	}

	public void setSauce(String sauce) {
		this.sauce = sauce;
	}

	public void setTopping(String topping) {
		this.topping = topping;
	}

	@Override
	public String toString() {
		StringBuilder buf = new StringBuilder();
		buf.append(String.format("[dough=%s, sauce=%s, topping=%s]", dough,
				sauce, topping));
		return buf.toString();
	}
}
